home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
infodoor.zip
/
INFODOOR.DOC
< prev
next >
Wrap
Text File
|
1991-10-25
|
6KB
|
152 lines
1.
INFO DOOR
(C) Copyright 1991 by Stanley Sheff
Support BBS: The Brainex System
(310) 275-2344
(310) 273-5234
-------------------------------------------
Here's a simple door that will do just one thing: Show a text file!
I'm sure you will find many uses for this door such as:
Display Instructions for a door.
Show your BBS User Manual or Help File
Tell a caller a door is down.
This door works with GAP, PCBoard, Wildcat, Spitfire, WWIV, and RBBS,
as well as any BBS that generates a DOOR.SYS file when running a door.
The setup of INFO DOOR is simple, all you need to do is create a
directory for INFO DOOR and its files then copy the files into that
directory. After that you will need to create a config file with
the following information and place it in that directory.
(sample INFO.CNF)
c:\gapn1
The Brainex System
GAP
===================================================================
Line 1 Path to DOOR.SYS, DORINFO1.DEF, CHAIN.TXT, or SFDOORS.DAT
Line 2 BBS Name
Line 3 BBS Type: GAP (DOOR.SYS) SF (Spitfire/SFDOORS.DAT)
WC3 (Wildcat 3/DOOR.SYS) WWIV (CHAIN.TXT)
PCB (PCBOARD 14/DOOR.SYS) RBBS (DORINFO1.DEF)
===================================================================
Once you have created your config file, you must then create a a batch
file to call the door. A batch file for a GAP BBS might look like this:
ECHO OFF
CD \DOORS\INFODOOR
INFODOOR INFO.CNF /FILE
FILE is the actual name of the text file to display. You can have two
versions, a plain text ASCII and an ANSI COLOR. Just add a G to the
file name for color: FILEG
You do not need to add the G to the batch file command.
Here's how you could show a BBS usermanual located in a C:\DOCFILES
directory. Files in this directory would be MANUAL and MANUALG...
INFODOOR INFO.CNF /C:\DOCFILES\MANUAL
It is recommended but not required that you call INFODOOR with the
config file's name on the command line. If you don't, INFODOOR will
simply default to INFO.CNF.
You will also need to modify your doors menu files and the data
file that tells the BBS what your doors are and the security
level needed to access them. For GAP, these are respectively:
DOORM
DOORMG
DOORS.DAT
Please refer to your BBS documentation for details on
setting up these files.
If you are running multi-nodes, simply create a separate door
configuration file for each node, and number them. For instance,
for a 3 node system, you might have the following configuration
files:
INFO1.CNF
INFO2.CNF
INFO3.CNF
The only difference between the three would be the 1st line which
points to the default directory for the particular node.
Another easy way to add the PAGE to GAP is to use Gap's
configuration option to create a SYSOP DEFINED COMMAND (consult Gap's
docs for info on sysop defined commands). On The Brainex System I use
INFO. The batch file to run INFO is named INFO.BAT and placed
in the BBS default directory (C:\GAP). When a caller types INFO at the
main prompt, they are instantly taken to the INFO door.
The following files are read during door initialization. They
must be present or the door will not operate.
DOOR.SYS (or DORINFO1.DEF, CHAIN.TXT, SFDOORS.DAT)
GAPBBS.CNF (GAP BBS only)
USERS (GAP BBS only)
The following sysop functions are available while awaiting
keyboard input :
F5 - Shell to DOS.
F8 - Twit user and return to BBS.
F10 - Initiate chat with user.
CF10 - Answer user page bell.
Home - Main user stats.
End - Displays sysop keys available.
PgDn - Secondary user stats.
Up Arrow - Increase user's time remaining by 5 minutes.
Dn Arrow - Decrease user's time remaining by 5 minutes.
One of the nicer features about using the TWIT key, is the user
is not told that "the sysop wants them to return to the BBS".
Instead, a very plain and simple message of "returning you to the
BBS" is displayed. This way, the user is given no indication
that the sysop is hovering about.
When using the F5 shell to DOS key, to return to the door
program, simply type EXIT at the DOS command prompt. It is not
necessary to change directories back to the door directory.
RomBrain is smart enough to know which drive and directory the
door program is in and will reset the defaults upon return from
DOS.
The Up and Down Arrow keys increase and decrease the user's time
respectively by 5 minutes for each press of the key. There is no
indication of what is occurring (except by the fact the user's
time remaining will change), so the sysop should try not to have
a lead finger. The increase or decrease is effective only while
the user is in RomBrain.
This version of INFO DOOR is *FREE*, provided as a courtesy from
Brainex!
Have Fun!
Stanley Sheff
The Brainex System
310-275-2344 HST
310-273-5234 MNP